package itbour.onetouchshow.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by guoh on 2018/6/11.
 * 功能描述：
 * 需要的参数：
 */
public class ChallengeActionBean implements Serializable {
    /**
     * "activitys" : {
     * "diplayType" : 1,       // 展示样式, 预留字段1 标记横向不自动轮播
     * "showMore" : 1,         // 是否显示更多
     * "title" : "挑战活动",   // 区块标题
     * "h": 204.0,             // 区块图宽高比
     * "w": 344.0,
     * "list" : [
     * {
     * "id": 982,
     * "state" : 40,   // 10 未开始(前端不可见), 20 已开始, 30 活动截止(评奖中), 40 活动关闭(奖励已发放), 50 活动取消(前端不可见)
     * "thumb": "https://itbourgenerate.osscnhangzhou.aliyuncs.com/image/0.jpg",
     * "url" : "https://apphome.yijianxiu.com/activitys/act_01.html",  // 活动地址
     * "title" : "新货在线，折扣不断",                                 // 活动标题
     * "startDate" : "2018-06-07",                     // 活动开始日期字符串
     * "endDate" : "2018-06-17",                       // 活动截止日期字符串
     * "startTimestamp" : 1528385239,                  // 活动开始秒级时间戳
     * "endTimestamp" : 1528385239,                    // 活动截止秒级时间戳
     * }
     * ]
     * }ate":40,"thumb":"https://itbourgenerate.osscnhangzhou.aliyuncs.com/image/0.jpg","url":"https://apphome.yijianxiu.com/activitys/act_01.html","title":"新货在线，折扣不断","startDate":"2018-06-07","endDate":"2018-06-17","startTimestamp":1528385239,"endTimestamp":1528385239}]
     */

    private int diplayType;
    private int showMore;
    private String title;
    private double h;
    private double w;
    private List<ListBean> list;

    public int getDiplayType() {
        return diplayType;
    }

    public void setDiplayType(int diplayType) {
        this.diplayType = diplayType;
    }

    public int getShowMore() {
        return showMore;
    }

    public void setShowMore(int showMore) {
        this.showMore = showMore;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public double getH() {
        return h;
    }

    public void setH(double h) {
        this.h = h;
    }

    public double getW() {
        return w;
    }

    public void setW(double w) {
        this.w = w;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * id : 982
         * state : 40
         * thumb : https://itbourgenerate.osscnhangzhou.aliyuncs.com/image/0.jpg
         * url : https://apphome.yijianxiu.com/activitys/act_01.html
         * title : 新货在线，折扣不断
         * startDate : 2018-06-07
         * endDate : 2018-06-17
         * startTimestamp : 1528385239
         * endTimestamp : 1528385239
         */

        private int id;
        private int state;
        private String thumb;
        private String url;
        private String title;
        private String startDate;
        private String endDate;
        private int startTimestamp;
        private int endTimestamp;
        private int rewardTotal;
        private String contentUrl;

        public int getRewardTotal() {
            return rewardTotal;
        }

        public String getContentUrl() {
            return contentUrl;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getStartDate() {
            return startDate;
        }

        public void setStartDate(String startDate) {
            this.startDate = startDate;
        }

        public String getEndDate() {
            return endDate;
        }

        public void setEndDate(String endDate) {
            this.endDate = endDate;
        }

        public int getStartTimestamp() {
            return startTimestamp;
        }

        public void setStartTimestamp(int startTimestamp) {
            this.startTimestamp = startTimestamp;
        }

        public int getEndTimestamp() {
            return endTimestamp;
        }

        public void setEndTimestamp(int endTimestamp) {
            this.endTimestamp = endTimestamp;
        }
    }
}
